﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SystemModels;

namespace SystemDALInterface
{
    /// <summary>
    /// 菜单管理接口
    /// </summary>
    public interface IMenuManager
    {
        /// <summary>
        /// 查询所有的菜单项
        /// </summary>
        /// <returns>菜单集合</returns>
        List<Programs> QueryMenusAll();
        /// <summary>
        /// 根据用户查询相应显示的菜单
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        List<Programs> QueryMenusAll(int userId);
    }
}
